﻿using System;
using System.Collections.Generic;
using System.Reflection;
using System.Xml.Linq;
using GenY.TypeWrapper;
using System.Text;

namespace GenY.Stub {
  [GenYrator( "Stub" )]
  public class StubGen : IGenYrator {
    public GenyResult GenYrate(string filename, string file, string language, string[ ] references ) {
      return new GenyResult { Report = "teh report", Files = new[ ] { new GenyRatedFile { FileName = "file.cs", Contents = Encoding.ASCII.GetBytes( "//gurka") } } };
    }
  }

  [TypeWapper( "test" )]
  public class TestTypeGen : ITypeWrapper {
    public string Wrap( Dictionary<Type, IEnumerable<MemberInfo>> types, XElement GenYElement ) {
      throw new NotImplementedException( );
    }
  }
}
